package com.xingkeduo.pojo.table;

import com.xingkeduo.pojo.enums.CommentStar;
import com.xingkeduo.utils.TableAnnotations;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 评价
 * @author chi  2019-02-19 17:21
 **/
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class Comments {
    @TableAnnotations("订单ID")
    private String orderId;

    @TableAnnotations("订单号")
    private String orderNo;

    @TableAnnotations("大区id")
    private String vendorId;

    @TableAnnotations("城市id")
    private String cityId;

    @TableAnnotations("分公司id")
    private String branchOfficeId;

    @TableAnnotations("店铺ID")
    private String storeId;

    @TableAnnotations("服务评分")
    private CommentStar commentStar;

    @TableAnnotations("理发师ID")
    private String adminId;

    @TableAnnotations("开始服务时间")
    private LocalDateTime serveStartTime;

    @TableAnnotations("结束服务时间")
    private LocalDateTime serveEndTime;

    @TableAnnotations("服务类型 1剪发 2刘海 3高级")
    private String serviceTypeId;
    @TableAnnotations("服务类型 1剪发 2刘海 3高级")
    private String serviceTypeName;

    @TableAnnotations("用户手机号")
    private String userMobile;

    @TableAnnotations("用户昵称")
    private String userNickName;

    @TableAnnotations("是否生效")
    private Boolean isEffective;

    //以上是与查询有关字段


    @TableAnnotations("大区名称")
    private String vendorName;

    @TableAnnotations("城市名称")
    private String cityName;

    @TableAnnotations("分公司名称")
    private String branchOfficeName;

    @TableAnnotations("店铺名称")
    private String storeName;

    @TableAnnotations("原评价内容（未过滤）")
    private String commentNotFilter;

    @TableAnnotations("手艺人名称")
    private String adminName;

    @TableAnnotations("是否匿名")
    private Boolean anonymous;

    @TableAnnotations("顾客留的手机")
    private String mobile;

    @TableAnnotations("评价图片ids")
    private String picIds;

    @TableAnnotations("评价标签（中文，用逗号分开；例如：剪发技术超赞，服务超棒，店内舒适干净，购票体验好，网络很快）")
    private String judgementLabel;

    @TableAnnotations("用户ID")
    private String userId;

    @TableAnnotations("星客多用户端展示")
    private Boolean shownToUser;

    @TableAnnotations("星客多发型师端展示")
    private Boolean shownToAdmin;

    @TableAnnotations("评价（已过滤）")
    private String comment;

    //以上是与展示相关字段

    @TableAnnotations("总金额")
    private BigDecimal allPrice;
    @TableAnnotations("预约开始时间")
    private LocalDateTime appointmentStartTime;
    @TableAnnotations("预约结束时间")
    private LocalDateTime appointmentEndTime;

    private LocalDateTime createdTime;
}
